<template>
  <div>this is News</div>

  <router-view></router-view>
</template>

<script setup lang="ts">
  import { useRouter, useRoute } from 'vue-router'

  const route = useRoute()
  const router = useRouter()

  console.log('route--', route, 'query-', route.query, 'params-', route.params)
  console.log('router--', router)
</script>

<style>
</style>